package com.bw.wxy.mvp.di;

import com.bw.wxy.mvp.contract.LoginContract;
import com.bw.wxy.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginModules {
    private LoginContract.ILoginView view;

    public LoginModules(LoginContract.ILoginView view) {
        this.view = view;
    }

    @Provides
    public LoginContract.ILoginView ProvideView(){
        return view;
    }

    @Provides
    public LoginContract.ILoginModel ProvideModel(LoginModel model){
        return model;
    }
}

